#!/bin/bash

# 进入脚本所在目录
cd "$(dirname "$0")"

# 激活虚拟环境
source venv/bin/activate

# 设置环境变量
export HF_HOME="./huggingface"
export XFORMERS_FORCE_DISABLE_TRITON="1"
export PYTHONPATH="$PWD"


HF_ENDPOINT=https://hf-mirror.com python "app.py"
